Developer --> Technical Publications
PATHHardware Documentation > USB Devices > Mac OS USB DDK API Reference


USBExpertStatusLevel

The USBExpertStatus function sets the value for the level of status messages sent to the USB Manager. These messages can be seen by the USB Prober application in the USB Expert Log window. For more information about the USB Expert Log window, see USB Prober Features for Developers .

OSStatus USBExpertStatusLevel (
                     UInt32 level,
                     USBDeviceRef ref,
                     char *status,
                     UInt32 value);

level
The level to assign to the status message. Integers 1 through 5
kUSBStatusLevelFatal = 1
Fatal errors.
kUSBStatusLevelError = 2
General errors that may or may not effect operation.
kUSBStatusLevelClient = 3
General driver messages.
kUSBStatusLevelGeneral = 4
Important messages generated by the USB Expert and USL.
kUSBStatusLevelVerbose = 5
General messages from the USB Expert and USL. This is the default level selected when the Prober is first launched.
ref
Device reference for the device driver giving notification. The reference is for the purpose of displaying information only. Currently this reference is not validated.
status
A pointer to a string status message to display. This value is a P-string.
value
An arbitrary number to display.

© 1999 Apple Computer, Inc.

Previous | Back Up One Level | Next | Show Frames | Hide Frames